3.4.65 \(\int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx\) [365]

Optimal. Leaf size=42 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}} \]

[Out]

1/6*cos(f*x+e)*(a+a*sin(f*x+e))^(5/2)/f/(c-c*sin(f*x+e))^(7/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {2821} \begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Sin[e + f*x])^(5/2)/(c - c*Sin[e + f*x])^(7/2),x]

[Out]

(Cos[e + f*x]*(a + a*Sin[e + f*x])^(5/2))/(6*f*(c - c*Sin[e + f*x])^(7/2))

Rule 2821

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[b*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(a*f*(2*m + 1))), x] /; FreeQ[{a, b, c, d, e, f
, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && EqQ[m + n + 1, 0] && NeQ[m, -2^(-1)]

Rubi steps

\begin {align*} \int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(110\) vs. \(2(42)=84\).
time = 0.60, size = 110, normalized size = 2.62 \begin {gather*} \frac {a^2 (-5+3 \cos (2 (e+f x))) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))}}{6 c^3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^3 \sqrt {c-c \sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + a*Sin[e + f*x])^(5/2)/(c - c*Sin[e + f*x])^(7/2),x]

[Out]

(a^2*(-5 + 3*Cos[2*(e + f*x)])*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*Sqrt[a*(1 + Sin[e + f*x])])/(6*c^3*f*(Cos
[(e + f*x)/2] + Sin[(e + f*x)/2])*(-1 + Sin[e + f*x])^3*Sqrt[c - c*Sin[e + f*x]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(128\) vs. \(2(36)=72\).
time = 17.67, size = 129, normalized size = 3.07

method result size
default \(-\frac {\left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \left (\cos ^{2}\left (f x +e \right )-4\right ) \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}}}{3 f \left (\cos ^{3}\left (f x +e \right )-\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-2 \cos \left (f x +e \right ) \sin \left (f x +e \right )-2 \cos \left (f x +e \right )+4 \sin \left (f x +e \right )+4\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {7}{2}}}\) \(129\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*sin(f*x+e))^(5/2)/(c-c*sin(f*x+e))^(7/2),x,method=_RETURNVERBOSE)

[Out]

-1/3/f*(-1+cos(f*x+e)+sin(f*x+e))*(cos(f*x+e)^2-4)*sin(f*x+e)*(a*(1+sin(f*x+e)))^(5/2)/(cos(f*x+e)^3-sin(f*x+e
)*cos(f*x+e)^2-3*cos(f*x+e)^2-2*cos(f*x+e)*sin(f*x+e)-2*cos(f*x+e)+4*sin(f*x+e)+4)/(-c*(sin(f*x+e)-1))^(7/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(5/2)/(c-c*sin(f*x+e))^(7/2),x, algorithm="maxima")

[Out]

integrate((a*sin(f*x + e) + a)^(5/2)/(-c*sin(f*x + e) + c)^(7/2), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 117 vs. \(2 (39) = 78\).
time = 0.37, size = 117, normalized size = 2.79 \begin {gather*} \frac {{\left (3 \, a^{2} \cos \left (f x + e\right )^{2} - 4 \, a^{2}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (3 \, c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right ) - {\left (c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(5/2)/(c-c*sin(f*x+e))^(7/2),x, algorithm="fricas")

[Out]

1/3*(3*a^2*cos(f*x + e)^2 - 4*a^2)*sqrt(a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)/(3*c^4*f*cos(f*x + e)^3
- 4*c^4*f*cos(f*x + e) - (c^4*f*cos(f*x + e)^3 - 4*c^4*f*cos(f*x + e))*sin(f*x + e))

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))**(5/2)/(c-c*sin(f*x+e))**(7/2),x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 6189 deep

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 138 vs. \(2 (39) = 78\).
time = 0.50, size = 138, normalized size = 3.29 \begin {gather*} -\frac {{\left (3 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 3 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{6 \, c^{4} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(5/2)/(c-c*sin(f*x+e))^(7/2),x, algorithm="giac")

[Out]

-1/6*(3*a^2*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^4 - 3*a^2*sqrt(c)*sgn(c
os(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 + a^2*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*
e)))*sqrt(a)/(c^4*f*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^6)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{5/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{7/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*sin(e + f*x))^(5/2)/(c - c*sin(e + f*x))^(7/2),x)

[Out]

int((a + a*sin(e + f*x))^(5/2)/(c - c*sin(e + f*x))^(7/2), x)

________________________________________________________________________________________